<extend name='Index:index'/>
<block name='ad'></block>
<block name='title'></block>
<block name='head'></block>
<block name='floor'>
	<!-- 页面详情 -->
	<div class="panel panel-primary">
	  <div class="panel-heading">
	  	<div class="row">
	  		<h3 class="col-md-2 panel-title">个人中心</h3>
	  	</div>
	  </div>
	  <div class="panel-body ">
			<div class="row">
				<div class="PersonList col-md-3">
					<ul class="list-group">
						<li class="list-group-item"><a href="<{:U('Person/touch')}>">查看联系方式</a></li>
						<li class="list-group-item"><a href="<{:U('Person/addTouch')}>">添加联系方式</a></li>
						<li class="list-group-item"><a href="<{:U('Person/orderList')}>" style="background: #5BC0DE;">查看订单</a></li>
					</ul>
				</div>
				<div class="detail col-md-9">
					<table class="table table-bordered">
						<tr>
							<th>订单号</th>
							<th>下单时间</th>
							<th>订单状态</th>
							<th>确认收货</th>
						</tr>
						<volist name='indentrows' id='indentrow'>
						<tr>
							<td style="line-height: 35px;"><a href="<{:U('Person/orderDetail','','')}>/code/<{$indentrow['code']}>"><{$indentrow['code']}></a></td>
							<td style="line-height: 35px;"><{$indentrow['time']|date='Y-m-d H:i:s',###}></td>
							<td style="line-height: 35px;"><{$indentrow['name']}></td>
							<if condition="$indentrow['is_comment'] eq 1">
								<td style="line-height: 35px;"><a class="btn btn-danger" href="<{:U('Person/comment','','')}>/code/<{$indentrow['code']}>">评论</a></td>
							<else/>
								<td style="line-height: 35px;"><a class="btn btn-danger" onclick="alert('请确认收货后在点此处！')" href="<{:U('Person/confirm','','')}>/code/<{$indentrow['code']}>/confirm/1">确认</a></td>
							</if>
						</tr>
						</volist>
					</table>
					<p class="text-center"><{$show}></p>
				</div>
			</div>
	  </div>
	</div>
	<!-- 页面详情   结束-->
</block>